import { useThemeStore } from '@/stores/useThemeStore.js'
import { nextTick } from 'vue'

export function toggleDark(event, theme) {

  // 设置为 light 主题
  const themeStore = useThemeStore()
  themeStore.setTheme('light')

  // 固定 html 类名为 light
  document.documentElement.className = 'light'
}
